
import 'package:flutter/painting.dart';

extension ObjectExtension on Object {
  String toStringForNull() {
    return this == null ? "" : this.toString();
  }

  bool isNull() {
    return this == null;
  }
}

extension ColorExtension on Color {
  Color toHexColor(String value) {
    return Color(0xFF12);
  }
}